/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bionic.ce.entitybeans.query;

import com.bionic.ce.entities.Query;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Jarik
 */
@Local
public interface QueryFacadeLocal {

    void create(Query query);

    void edit(Query query);

    void remove(Query query);

    Query find(Object id);

    List<Query> findAll();

    List<Query> findRange(int[] range);

    int count();

    List<Query> findNotActiveQueries(Integer userId);

    List<Query> findByDynamicSelect(Query q);
}
